package com.sservice.service.service;

import com.sservice.model.entity.OtherReceivables;
import com.sservice.model.vo.OtherReceivablesVo;

import java.util.List;

/**
 * Created by suweiming on 2017/12/20.
 */

public interface OtherReceivablesService {
    int deleteByPrimaryKey(Integer id);

    int insert(OtherReceivables record);

    int insertSelective(OtherReceivables record);

    OtherReceivables selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OtherReceivables record);

    Object payByCash(OtherReceivables record);

    int updateByPrimaryKey(OtherReceivables record);

    /**
     * 分页统计
     *
     * @param record
     * @return
     */
    int queryByCount(OtherReceivablesVo record);

    /**
     * 分页查询
     *
     * @param record
     * @return
     */
    List<OtherReceivablesVo> queryByPage(OtherReceivablesVo record);

    public String payTypeStr(String type);
}
